﻿using System.Web;
using System.Web.Optimization;

namespace contactusform.web
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js",
                        "~/Scripts/jquery.unobtrusive-ajax.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                       "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/plugins").Include(
                       "~/Scripts/jquery.datetimepicker.js",
                       "~/Scripts/custom.js",
                       "~/Scripts/jquery.maskedinput"));

            bundles.Add(new StyleBundle("~/Content/css/styles").Include(
                "~/Content/css/base.css",
                "~/Content/css/grid.css",
                "~/Content/css/elements.css",
                "~/Content/css/layout.css",
                "~/Content/css/site.css",
                "~/Content/css/iconfontcustom.css",
                "~/Content/css/font-awesome.css",
                "~/Content/css/jquery.datetimepicker.css"
                ));

        }
    }
}
